package sanrenxing.analysis.domain;

/**
 * 功能:
 * 编写者:
 * 创建时间：2020/10/13 9:49
 * 版本:
 */
public class AnalysisTo {
    //难易编号
    private int analyId;
    //试题编号
    private int subjectId;
    //班级名称
    private String className;
    //正确率
    private int rightNum;
    //难易数
    private double accRate;
    //试卷编号
    private int paperId;

    /**
     * 空参构造
     */
    public AnalysisTo() {
    }

    /**
     * 带参构造
     * @param analyId 试题难易编号
     * @param subjectId 题目编号
     * @param className 班级名称
     * @param rightNum 难度数
     * @param accRate 难易程度
     * @param paperId 试卷编号
     */
    public AnalysisTo(int analyId, int subjectId, String className, int rightNum, double accRate, int paperId) {
        this.analyId = analyId;
        this.subjectId = subjectId;
        this.className = className;
        this.rightNum = rightNum;
        this.accRate = accRate;
        this.paperId = paperId;
    }

    //setter和getter方法
    public int getAnalyId() {
        return analyId;
    }

    public void setAnalyId(int analyId) {
        this.analyId = analyId;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getRightNum() {
        return rightNum;
    }

    public void setRightNum(int rightNum) {
        this.rightNum = rightNum;
    }

    public double getAccRate() {
        return accRate;
    }

    public void setAccRate(double accRate) {
        this.accRate = accRate;
    }

    public int getPaperId() {
        return paperId;
    }

    public void setPaperId(int paperId) {
        this.paperId = paperId;
    }
}
